package com.yaoli.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by siemens on 3/17/2017.
 */
@Controller
public class TestController {
    @RequestMapping("/log")
    @ResponseBody
    String home() {
        System.out.println("asd阿斯蒂芬 f as");
        return "sta.hasdf tml";
    }

    @RequestMapping("/logD")
    @ResponseBody
    String home2() {
        System.out.println("aSDFASDF");
        return "static/helADSFDFDFlo.html";
    }
}
